package com.cskaoyan.config;

import com.cskaoyan.properties.FileProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(FileProperties.class)
public class FileConfiguration {
    FileProperties fileProperties;

    public FileConfiguration(FileProperties fileProperties) {
        this.fileProperties = fileProperties;
        System.out.println(fileProperties);
    }
}
